Ext.define('appmod.store.knowledge.category.Tree', {
    extend: 'Ext.data.TreeStore',
	folderSort: true,
	model:'appmod.model.TreeModel',

    proxy: {
        type: 'ajax',
        url : '../../data/resource/knowledge/category/tree.json',
		writer: {
			allowSingle:false,
			type : 'json',
			writeAllFields : true
		},
		api : {
			update : '../../data/resource/knowledge/category/update_all.json'
		}		
	},
	root: {
		text:'经验积累目录',
		expanded:true
	}	
});
